import MJCrequesting from "../index";
const dashboardAPI = {
  CategoryGoodsCount: "/goods/category/count",
  CategoryGoodsSale: "/goods/category/sale",
  CategoryGoodsFavor: "/goods/category/favor",
  AddressGoodsSale: "/goods/category/address/sale",
};
export function getCategoryGoodsCount() {
  return MJCrequesting.request({
    url: dashboardAPI.CategoryGoodsCount,
    method: "GET",
  });
}
export function getCategoryGoodsSale() {
  return MJCrequesting.request({
    url: dashboardAPI.CategoryGoodsSale,
    method: "GET",
  });
}
export function getCategoryGoodsFavor() {
  return MJCrequesting.request({
    url: dashboardAPI.CategoryGoodsFavor,
    method: "GET",
  });
}
export function getAddressGoodsSale() {
  return MJCrequesting.request({
    url: dashboardAPI.AddressGoodsSale,
    method: "GET",
  });
}
